﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace OAF.Shell
{
    [System.ComponentModel.Composition.Export(typeof(Base.IShell))]
    public partial class Browser : Form, Base.IShell
    {
        private Browser browser;

        private Browser()
        {
            InitializeComponent();
        }

      

        void Base.IShell.CloseForm(int index)
        {
            throw new NotImplementedException();
        }

        int Base.IShell.OpenForm(Base.IForm form)
        {
            throw new NotImplementedException();
        }

        void Base.IShell.Show() 
        {
            if (browser == null)
                browser = new Browser();

            browser.Show();
        }
    }
}
